/* 
 * Copyright 2013-2020 Modeliosoft
 * 
 * This file is part of Modelio.
 * 
 * Modelio is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Modelio is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Modelio.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.12.02 at 02:29:48 PM CET
//
package org.modelio.bpmnxml.model;

import com.modeliosoft.modelio.javadesigner.annotations.objid;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;

/**
 * <p>Java class for tParticipantMultiplicity complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="tParticipantMultiplicity">
 * &lt;complexContent>
 * &lt;extension base="{http://www.omg.org/spec/BPMN/20100524/MODEL}tBaseElement">
 * &lt;attribute name="minimum" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
 * &lt;attribute name="maximum" type="{http://www.w3.org/2001/XMLSchema}int" default="1" />
 * &lt;anyAttribute processContents='lax' namespace='##other'/>
 * &lt;/extension>
 * &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@objid ("2ebe3a87-4091-45fd-b9ae-1def97fca2fd")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tParticipantMultiplicity")
public class TParticipantMultiplicity extends TBaseElement {
    @objid ("9233448e-b098-4ebc-9e1b-bdffe861d85d")
    @XmlAttribute(name = "minimum")
    protected Integer minimum;

    @objid ("ba6a6979-effe-40df-835a-cf1dca1c5f1b")
    @XmlAttribute(name = "maximum")
    protected Integer maximum;

    /**
     * Gets the value of the minimum property.
     * @return
     * possible object is
     * {@link Integer }
     */
    @objid ("55b282df-9749-4558-9f22-661603fe3a25")
    public int getMinimum() {
        if (this.minimum == null) {
            return  0;
        } else {
            return this.minimum;
        }
        
    }

    /**
     * Sets the value of the minimum property.
     * @param value allowed object is
     * {@link Integer }
     */
    @objid ("29c8aeb3-0c0e-4375-a6dc-d61850354153")
    public void setMinimum(Integer value) {
        this.minimum = value;
    }

    /**
     * Gets the value of the maximum property.
     * @return
     * possible object is
     * {@link Integer }
     */
    @objid ("8e435f22-f2ae-42f8-ae38-484f85d3314a")
    public int getMaximum() {
        if (this.maximum == null) {
            return  1;
        } else {
            return this.maximum;
        }
        
    }

    /**
     * Sets the value of the maximum property.
     * @param value allowed object is
     * {@link Integer }
     */
    @objid ("e4fb7dae-5eca-44a0-b07d-7be45c1a4b04")
    public void setMaximum(Integer value) {
        this.maximum = value;
    }

}
